Skip to content

[pull] master from glideapps:master#73

Merged
pull[bot] merged 2 commits into
meonBot:masterfrom
glideapps:master
Jul 21, 2026
Merged

[pull] master from glideapps:master#73
pull[bot] merged 2 commits into
meonBot:masterfrom
glideapps:master

Conversation

@pull

@pull pull Bot commented Jul 21, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

schani and others added 2 commits July 20, 2026 20:40
typescript-json-schema was invoked without propOrder enabled, so
generated JSON Schemas had no property-order metadata and downstream
languages (e.g. Swift) alphabetized fields instead of preserving the
TypeScript declaration order.

Enable propOrder in the typescript-json-schema settings and copy the
resulting propertyOrder metadata onto quicktype's existing
quicktypePropertyOrder field, which JSONSchemaInput already honors.

Covered by a new unit test in test/unit/typescript-input.test.ts that
compiles a TypeScript class through to Swift output and asserts
property order is preserved; this path (TypeScript source as input)
isn't reachable through the JSON/JSON Schema fixture harness, which
starts from JSON/schema files rather than TS sources.

Co-Authored-By: gpt-5.6-sol via pi <noreply@openai.com>
fix(typescript-input): preserve declared property order (#898)
@pull pull Bot locked and limited conversation to collaborators Jul 21, 2026
@pull pull Bot added the ⤵️ pull label Jul 21, 2026
@pull
pull Bot merged commit e7baee9 into meonBot:master Jul 21, 2026
1 of 5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant